package com.scu.qingshi.domain.email.model;

import java.util.Objects;

/**
 * 审核结果邮件信息
 * @author qingshi
 */
public class AuditResultEmailMessage {

    public static String getTitle(String communityName){
        return "来自"+communityName+"面试申请审核结果";
    }

    public static String getContent(Integer auditRes, String name){
        StringBuilder res = new StringBuilder("您参加[").append(name).append("]");
        if (Objects.equals(auditRes,1)){
            res.append("面试的申请已通过");
        }else {
            res.append("面试的申请未通过");
        }
        return res.toString();
    }

}
